const state = {
  form: {
    kbtime: '',
    indatenum: '',
    enddate: '',
    earnest: '',
    bidsection: '',
    amount:'',
    guaranteetype:''
  }
}

const getters = {
  cloneForm(state) {
    return state.form;
  }
}

const mutations = {
  setState(state, form) {
    state.cloneForm = form;
  }
}

const actions = {
  asyncSetForm(context, form) {
    context.commit('setState', form)
  }
}

export default {
  namespaced: true, //用于在全局引用此文件里的方法时标识这一个的文件名
  state,
  getters,
  mutations,
  actions
}